﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tomahawk.Runtime.Console.Commands
{
    public class ExitCommand : ConsoleCommand
    {
        public override string GetName()
        {
            return "exit";
        }

        public override string GetHelp()
        {
            return "Exits the game";
        }

        public override string Execute(string[] parameters)
        {
            Engine.Instance.Exit();
            return "Exiting game...";
        }
    }
}
